package com.softjourn.punchcard.merchant.lib;

import android.content.Context;
import android.graphics.Typeface;

import com.softjourn.punchcard.merchant.lib.PropertiesUtil;

public class TypefaceUtil {
	
	public static final Typeface getTypeface(Context context, String fontName) {
		String fontPath = PropertiesUtil.getProperty(context, fontName);
		
		return Typeface.createFromAsset(context.getAssets(), fontPath);
	}

}
